# main.py
from game import new_food, game_loop

if __name__ == "__main__":
    new_food()  # 初始化食物位置
    game_loop()  # 开始游戏循环